#{extends 'frame.html' /}

#{set title:'资金管理' /}



#{set 'moreStyles'}

<link rel="stylesheet" media="screen" href="@{'/public/stylesheets/admin/money.css'}" />

<link rel="stylesheet" media="screen" href="@{'/public/stylesheets/jquery.pagination.css'}" />

<link rel="stylesheet" media="screen" href="@{'/public/stylesheets/datePicker.css'}" />

#{/set}

<div class="contentCard">

	<div class="contentTitle">资金记录列表</div>

	<div id="taskFilterPanel">

		<div class="clearfix mb10">

			<span class="floatLeft mr10">用户昵称</span>

			<input type="text" id="userNick" class="floatLeft mr10 inputText" />

			<span class="floatLeft mr10">任务编号</span>

			<input type="text" id="taskId" class="floatLeft mr10 inputText" />

			<span class="floatLeft mr10">收支类型</span>

			<select class="floatLeft mr10 mt4" id="status">

				<option value="">全部</option>

				#{list items:signs, as:'s'}

				<option value="${s}" >${s}</option>

				#{/list}

			</select>

		</div>

		<div class="clearfix mb10">

			<div class="cal-content">

				<span class="floatLeft mr10">创建时间</span>

				<span class="floatLeft mr10 cal-date-input">

					<input class="inputDate start-date" id="createTimeStart" readonly="readonly" value=""  />

				</span>

				<span class="floatLeft mr10 med-cal-split">-</span>

				<span class="floatLeft mr10 cal-date-input">

					<input class="inputDate end-date" id="createTimeEnd" readonly="readonly" value="" />

				</span>

				<span class="floatLeft mr10">金额</span>

				<input type="text" id="amountStart" class="floatLeft mr10 inputText short" />

				<span class="floatLeft mr10">-</span>

				<input type="text" id="amountEnd" class="floatLeft mr10 inputText short" />

				<a class="stdColorButton floatLeft queryBtn" href="javascript:;" id="queryBtn">查询</a><br/>

				<span id="count1" style="visibility:hidden">数量：<input name="count" id="count" /></span>

				<span id="exportBtn" style="visibility:hidden"><a class="stdColorButton queryBtn" href="javascript:;" id="exportBtn">导出押金记录</a></span>

			</div>		

		</div>

	</div>

	<div class="">

		<div class="foundTypeSwitchWrapper">

			<a class="foundTab focus" href="javascript:;" type="withdraw">提现记录</a>

			<a class="foundTab" href="javascript:;" type="ingot">金币记录</a>

			<a class="foundTab" href="javascript:;" type="premium" isReward="true">佣金记录</a>

			<a class="foundTab" href="javascript:;" type="pledge">押金记录</a>

			<a class="foundTab" href="javascript:;" type="deposit">本金记录</a>

			<a class="foundTab" href="javascript:;" type="member">会员记录</a>

			<a class="foundTab" href="javascript:;" type="flow">流量购买记录</a>

		</div>

		<div class="foundRecordWrapper" style="overflow: hidden;" id="recordContainer"></div>

		<!--这里是分页区域-->

		<div class="popWrapper" style="display: none;" id="tr_loading_mask">

			<div class="maskLayer"></div>

			<img class="tr_juhua" src="@{'/public/images/pre_loading.gif'}" />

		</div>

		<div class="pagin-btm clearFix">

			<div class="pagination"></div>

		</div>



	</div>

</div>

<textarea id="withdrawRecordTemp" class="muban">

	<table class="normTable">

		<thead>

			<tr>

				<td>所属账号</td>

				<td width="20%">提现流水号</td>

				<td width="10%">金额</td>

				<td width="18%">申请时间</td>

				<td width="18%">处理时间</td>

				<td width="10%">状态</td>

				<td>备注</td>

			</tr>

		</thead>

		<tbody>

			{{#results}}

			<tr>

				<td>{{userNick}}</td>

				<td>{{tradeNo}}</td>

				<td>{{amountStr}}元</td>

				<td>{{applyTimeStr}}</td>

				<td>{{modifyTimeStr}}</td>

				<td>{{statusStr}}</td>

				<td>{{memo}}</td>

			</tr>

			{{/results}}

		</tbody>

	</table>

</textarea>

<textarea id="memberRecordTemp" class="muban">

	<table class="normTable">

		<thead>

			<tr>

				<td>所属账号</td>

				<td>任务编号</td>

				<td width="20%">时间</td>

				<td width="10%">金额</td>

				<td width="25%">金币数</td>

				<td>备注</td>

			</tr>

		</thead>

		<tbody>

			{{#results}}

			<tr>

				<td>{{userNick}}</td>

				<td>{{taskIdStr}}</td>

				<td>{{createTimeStr}}</td>

				<td>{{amountStr}}元</td>

				<td>{{ignotStr}}个</td>

				<td>{{memo}}</td>

			</tr>

			{{/results}}

		</tbody>

	</table>

</textarea>

<textarea id="pledgeRecordTemp" class="muban">

	<table class="normTable">

		<thead>

			<tr>

				<td>所属账号</td>

				<td>任务编号</td>

				<td width="20%">时间</td>

				<td width="10%">收入</td>

				<td width="10%">支出</td>

				<td width="10%">结余</td>

				<td>备注</td>

			</tr>

		</thead>

		<tbody>

			{{#results}}

			<tr>

				<td>{{userNick}}</td>

				<td>{{taskIdStr}}</td>

				<td>{{createTimeStr}}</td>

				<td>{{plusAmountStr}}</td>

				<td>{{minusAmountStr}}</td>

				<td>{{balanceStr}}元</td>

				<td>{{memo}}</td>

			</tr>

			{{/results}}

		</tbody>

	</table>

</textarea>

<textarea id="depositRecordTemp" class="muban">

	<table class="normTable">

		<thead>

			<tr>

				<td>用户昵称</td>

				<td>任务编号</td>

				<td width="20%">时间</td>

				<td width="10%">收入</td>

				<td width="10%">支出</td>

				<td width="10%">结余</td>

				<td>备注</td>

			</tr>

		</thead>

		<tbody>

			{{#results}}

			<tr>

				<td>{{userNick}}</td>

				<td>{{buyerTaskId}}</td>

				<td>{{createTimeStr}}</td>

				<td>{{plusAmountStr}}</td>

				<td>{{minusAmountStr}}</td>

				<td>{{balanceStr}}元</td>

				<td>{{memo}}</td>

			</tr>

			{{/results}}

		</tbody>

	</table>

</textarea>

<textarea id="flowRecordTemp" class="muban">

	<table class="normTable">

		<thead>

			<tr>

				<td>用户昵称</td>

				<td>任务编号</td>

				<td width="20%">时间</td>

				<td width="10%">收入</td>

				<td width="10%">支出</td>

				<td width="10%">结余</td>

				<td>备注</td>

			</tr>

		</thead>

		<tbody>

			{{#results}}

			<tr>

				<td>{{userNick}}</td>

				<td>{{taskIdStr}}</td>

				<td>{{createTimeStr}}</td>

				<td>{{plusAmountStr}}</td>

				<td>{{minusAmountStr}}</td>

				<td>{{balanceStr}}</td>

				<td>{{memo}}</td>

			</tr>

			{{/results}}

		</tbody>

	</table>

</textarea>

#{set 'moreScripts'}

<script src="@{'/public/javascripts/date.js'}" type="text/javascript"></script>

<script src="@{'/public/javascripts/jquery.datePicker.js'}" type="text/javascript"></script>

<script src="@{'/public/javascripts/mustache.min.js'}" type="text/javascript"></script>

<script src="@{'/public/javascripts/jquery.number.min.js'}" type="text/javascript"></script>

<script src="@{'/public/javascripts/jquery.pagination.js'}" type="text/javascript"></script>

<script src="@{'/public/javascripts/mustache.min.js'}" type="text/javascript"></script>

<script src="@{'/public/javascripts/admin/money.js'}" type="text/javascript"></script>

<script type="text/javascript">App.module = 'money';</script>

#{/set}